﻿<Window x:Class="AirlinePilotAcademy_WPF.UI_Administrator.Classroom.SearchClassroom"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Buscar aula" Height="284.375" Width="531.25" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" Foreground="White">
    <Window.Background>
        <ImageBrush ImageSource="/AirlinePilotAcademy_WPF;component/Images/Background.png" />
    </Window.Background>
    <Grid>
        <Label Content="Filtro código: " HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Foreground="White"/>
        <TextBox x:Name="TextBox_filter" MinLines="50" HorizontalAlignment="Left" Height="23" Margin="98,13,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="311" MaxLines="50" TextChanged="TextBox_FilterChanged"/>
        <CheckBox x:Name="CheckBox_RealTimeSearch" IsChecked="True" Content="Tiempo en busqueda real" HorizontalAlignment="Left" Margin="10,43,0,0" VerticalAlignment="Top" Checked="CheckBox_checkedRealTimeSearch" Unchecked="CheckBox_uncheckedRealTimeSearch" Foreground="White"/>
        
        <DataGrid x:Name="DataGrid_result" SelectionMode="Single" IsReadOnly="True" HorizontalAlignment="Left" Margin="10,72,0,0" VerticalAlignment="Top" RenderTransformOrigin="6.25,0" Height="171" Width="380" MouseDoubleClick="DataGrid_SelectedItem"/>

        <Button x:Name="Button_Search" Background="#FF87B42C" IsEnabled="False" Content="Buscar" HorizontalAlignment="Left" Margin="422,13,0,0" VerticalAlignment="Top" Width="91" Click="Button_Search_Click"/>
        <Button x:Name="Button_ModifyClassroom" Background="#FF87B42C" IsEnabled="False" Content="Modificar aula" HorizontalAlignment="Left" Margin="395,72,0,0" VerticalAlignment="Top" Width="118" Click="Button_Click_ModifyClassroom" Height="33"/>
        <Button x:Name="Button_WatchInfoClassroom" Background="#FF87B42C" IsEnabled="False" Content="Ver aula" HorizontalAlignment="Left" Margin="395,110,0,0" VerticalAlignment="Top" Width="118" Click="Button_Click_WatchInfoClassroom" Height="33"/>

    </Grid>
</Window>

    